import thenfs from "then-fs";

thenfs
  .readFile("./data/aa.txt", "utf8")
  .catch((err) => {
    console.log(err.message);
  })
  .then((result) => {
    console.log(result);
    return thenfs.readFile("./data/b.txt", "utf8");
  })
  .then((result) => {
    console.log(result);
    return thenfs.readFile("./data/c.txt", "utf8");
  })
  .then((result) => {
    console.log(result);
  });
